	<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core'%>
	<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
	
	<div>
		<table id="dg-logEventType" title="<spring:message code="log.logEventTypeManagement" />" class="easyui-datagrid"
			style="width: 500px; height: 400px" url="<c:url value='/logEventType/getAllEventType.html' />"
			toolbar="#toolbar-logEventType" pagination="false" rownumbers="true" 
			 singleSelect="true" checkOnSelect="true" selectOnCheck="false"
			data-options="fitColumns:true">
			<thead>
				<tr>
					<th data-options="field:'ck',checkbox:true"></th>
					<th data-options="field:'id',hidden:true"></th>
					<th field="name" width="100" sortable="true"><spring:message code="name" /></th>
					<th field="pattern" width="100"><spring:message code="log.eventPattern" /></th>
					<th field="enable" width="100"><spring:message code="log.eventEnable" /></th>
				</tr>
			</thead>
		</table>
	</div>
	
	<div id="toolbar-logEventType">
		<a href="javascript:void(0)" class="easyui-linkbutton" 
			iconCls="icon-add" plain="true" onclick="newModel('#dlg-logEventType', '<spring:message code="log.newEventType" />', '#fm-logEventType', '<c:url value='/logEventType/newEventType.html' />')" 
			title="<spring:message code="log.newEventType" />"></a> 
		<a href="javascript:void(0)" class="easyui-linkbutton"
			iconCls="icon-edit" plain="true" onclick="editModel('#dg-logEventType', '#dlg-logEventType', '<spring:message code="log.editEventType" />', '#fm-logEventType', '<c:url value='/logEventType/updateEventType.html' />')" 
			title="<spring:message code="log.editEventType" />"></a> 
		<a href="javascript:void(0)" class="easyui-linkbutton"
			iconCls="icon-remove" plain="true" onclick="destroyMultipleModel('#dg-logEventType', '<spring:message code="log.logEventType" />', '<c:url value='/logEventType/delEventType.html' />')" 
			title="<spring:message code="log.removeEventType" />"></a>
		<a href="javascript:void(0)" class="easyui-linkbutton"
			iconCls="icon-reload" plain="true" onclick="loadGridData ('#dg-logEventType', '<c:url value='/logEventType/getAllEventType.html' />')" 
			title="<spring:message code="refresh" />"></a>
	</div>

	<div id="dlg-logEventType" class="easyui-dialog"
		style="width: 400px; height: 300px; padding: 10px 20px" closed="true"
		buttons="#dlg-buttons-logEventType" data-options="modal:true">
		<div class="ftitle"><spring:message code="log.logEventType" /></div>
		<form id="fm-logEventType" class="fm" method="post" novalidate>
			<div class="fitem divHidden">
				<input name="id" id="logEventTypeId" value="0" />
			</div>
			<div class="fitem">
				<label><spring:message code="name" />:</label> 
				<input name="name" class="easyui-validatebox" required="true" 
				validType="myRemote['<c:url value='/logEventType/checkExist.html' />', 'name', '#logEventTypeId']" />
			</div>
			<div class="fitem">
				<label><spring:message code="log.eventPattern" />:</label> 
				<input name="pattern" class="easyui-validatebox" required="true" />
			</div>
			<div class="fitem">
				<label><spring:message code="log.eventEnable" />:</label> 
				<input name="enable" class="easyui-validatebox" type="checkbox" />
			</div>
		</form>
	</div>
	<div id="dlg-buttons-logEventType">
		<a id="save-logEventType" href="javascript:void(0)" class="easyui-linkbutton"
			iconCls="icon-ok" onclick="saveModel('#dg-logEventType', '#dlg-logEventType', '#fm-logEventType')"><spring:message code="save" /></a> 
		<a href="javascript:void(0)" class="easyui-linkbutton"
			iconCls="icon-cancel" onclick="javascript:$('#dlg-logEventType').dialog('close')"><spring:message code="cancel" /></a>
	</div>
